
<template>
  <div>
    <van-nav-bar title="我的课程" left-arrow @click-left="onClickLeft" />
    <mySessionList :listData="this.list" />
  </div>
</template>

<script>
import mySessionList from "@/components/mySessionList";
export default {
  components: {
    mySessionList,
  },
  props: ["list"],
  mounted() {
    console.log(this.list);
  },
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
  },
};
</script>

<style>
.van-icon-arrow-left {
  color: #000 !important;
  font-weight: 900;
}
.van-nav-bar__title {
  font-size: 20px;
}
</style>